<form action="" class="form-horizontal" data-toggle="validator" id="edit-form" method="POST" role="form">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">
            {:__('Title')}:
        </label>
        <div class="col-xs-12 col-sm-8">
            <input class="form-control form-control" data-rule="required" id="c-title" name="row[title]" type="text" value="{$row.title}">
            </input>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">
            {:__('Content')}:
        </label>
        <div class="col-xs-12 col-sm-8">
            <textarea class="form-control editor form-control" cols="50" data-rule="required" id="c-content" name="row[content]" rows="5">
                {$row.content}
            </textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">
            {:__('Status')}:
        </label>
        <div class="col-xs-12 col-sm-8">
            <label class="radio-inline">
                <input name="row[status]" type="radio" value="1" {if $row.status==1 }checked{/if}>
                    马上发布
                </input>
            </label>
            <label class="radio-inline">
                <input   name="row[status]" type="radio" value="0" {if $row.status==0 }checked{/if} >
                    暂不发布
                </input>
            </label>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2">
        </label>
        <div class="col-xs-12 col-sm-8">
            <button class="btn btn-success btn-embossed disabled" type="submit">
                {:__('OK')}
            </button>
            <button class="btn btn-default btn-embossed" type="reset">
                {:__('Reset')}
            </button>
        </div>
    </div>
</form>
